package tianrun.ziguan.api.calculate.config.dto.request;

import tianrun.ziguan.api.calculate.config.enums.SourceTypeEnum;

import javax.validation.constraints.NotNull;

public class ModulesDetailBody {

    @NotNull
    private Long sourceId;
    @NotNull
    private SourceTypeEnum sourceType;

    public SourceTypeEnum getSourceType() {
        return sourceType;
    }

    public void setSourceType(SourceTypeEnum sourceType) {
        this.sourceType = sourceType;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }
}
